<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">

<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
<link href="//cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet">


	







<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/blog/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/blog/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/blog/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/blog/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/blog/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/blog/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">





  <link rel="alternate" href="/blog/atom.xml" title="WhiteHat" type="application/atom+xml">






<meta name="description" content="中文说明worldserver.conf!  目录 中文说明worldserver.conf [worldserver]  mmap.enablePathFinding =1 MMAPS 开启   CONNECTIONS AND DIRECTORIES  RealmID     登陆服务器设置，RealmID必须匹配Realmlist，默认：1   RealmID = 1  DataDir">
<meta property="og:type" content="article">
<meta property="og:title" content="中文说明worldserver.conf">
<meta property="og:url" content="https://whitehat666.gitee.io/blog/2018/11/12/中文说明worldserver-conf/index.html">
<meta property="og:site_name" content="WhiteHat">
<meta property="og:description" content="中文说明worldserver.conf!  目录 中文说明worldserver.conf [worldserver]  mmap.enablePathFinding =1 MMAPS 开启   CONNECTIONS AND DIRECTORIES  RealmID     登陆服务器设置，RealmID必须匹配Realmlist，默认：1   RealmID = 1  DataDir">
<meta property="og:locale" content="default">
<meta property="og:updated_time" content="2018-11-17T08:42:48.545Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="中文说明worldserver.conf">
<meta name="twitter:description" content="中文说明worldserver.conf!  目录 中文说明worldserver.conf [worldserver]  mmap.enablePathFinding =1 MMAPS 开启   CONNECTIONS AND DIRECTORIES  RealmID     登陆服务器设置，RealmID必须匹配Realmlist，默认：1   RealmID = 1  DataDir">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/blog/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://whitehat666.gitee.io/blog/2018/11/12/中文说明worldserver-conf/">




<script>
    (function(){
        if(''){
            if (prompt('请输入文章密码') !== ''){
                alert('密码错误！');
                history.back();
            }
        }
    })();
</script>
  <title>中文说明worldserver.conf | WhiteHat</title>
  








</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="default">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/blog/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">WhiteHat</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-首页">
          <a href="https://whitehat666.gitee.io/blog/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-目录">
          <a href="/blog/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            目录
          </a>
        </li>
      
        
        <li class="menu-item menu-item-留言板">
          <a href="/blog/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            留言板
          </a>
        </li>
      
        
        <li class="menu-item menu-item-添加群聊(联系博主)">
          <a href="https://discord.gg/A5G4KfE" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            添加群聊(联系博主)
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://whitehat666.gitee.io/blog/blog/2018/11/12/中文说明worldserver-conf/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Whitehat">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://i.loli.net/2018/11/13/5be9fdb6b566a.jpeg">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="WhiteHat">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">中文说明worldserver.conf</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-11-12T01:55:13+08:00">
                2018-11-12
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  9.5k
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  43
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>中文说明worldserver.conf!</p>
<h2 id="目录"><a href="#目录" class="headerlink" title="目录"></a>目录</h2><h3 id="中文说明worldserver-conf"><a href="#中文说明worldserver-conf" class="headerlink" title="中文说明worldserver.conf"></a>中文说明worldserver.conf</h3><p>[worldserver]</p>
<p>mmap.enablePathFinding =1 MMAPS 开启</p>
<p> CONNECTIONS AND DIRECTORIES</p>
<pre><code>RealmID
    登陆服务器设置，RealmID必须匹配Realmlist，默认：1
</code></pre><p>RealmID = 1</p>
<pre><code>DataDir
    数据文件目录设置(DBC/Maps/vMaps)
</code></pre><p>DataDir = “data”</p>
<pre><code>LogsDir
    日志文件目录设置
</code></pre><p>LogsDir = “data”</p>
<pre><code>LoginDatabaseInfo
WorldDatabaseInfo
CharacterDatabaseInfo
    数据库链接设置，格式:ip;端口;用户名;密码;数据库名称
</code></pre><p>LoginDatabaseInfo     = “127.0.0.1;3306;root;root;ZH”<br>WorldDatabaseInfo     = “127.0.0.1;3306;root;root;SJ”<br>CharacterDatabaseInfo = “127.0.0.1;3306;root;root;JS”</p>
<pre><code>LoginDatabase.WorkerThreads
WorldDatabase.WorkerThreads
CharacterDatabase.WorkerThreads
    用几个线程处理Mysql数据异步(即延迟)，默认：1、1、1
</code></pre><p>LoginDatabase.WorkerThreads     = 1<br>WorldDatabase.WorkerThreads     = 1<br>CharacterDatabase.WorkerThreads = 1</p>
<pre><code>LoginDatabase.SynchThreads
WorldDatabase.SynchThreads
CharacterDatabase.SynchThreads
    用几个线程连接数据库，默认：1、1、2
</code></pre><p>LoginDatabase.SynchThreads     = 1<br>WorldDatabase.SynchThreads     = 1<br>CharacterDatabase.SynchThreads = 2</p>
<pre><code>MaxPingTime
    最高ping数据库的时间间隔，默认：30(分钟)
</code></pre><p>MaxPingTime = 30</p>
<pre><code>WorldServerPort
    worldserver.exe使用的系统端口，默认：8085
</code></pre><p>WorldServerPort = 8085</p>
<pre><code>BindIP
    worldserver.exe绑定的IP地址/主机，默认：&quot;0.0.0.0&quot;
</code></pre><p>BindIP = “0.0.0.0”</p>
<p> PERFORMANCE SETTINGS</p>
<pre><code>UseProcessors
    在多线程系统使用线程MASK(只在Windows系统下使用)，默认：0(自动选择)，数值(设置处理器的线程值)
</code></pre><p>UseProcessors = 0</p>
<pre><code>ProcessPriority
    进程优先权设置(只在Windows系统下使用)，默认: 1 (高优先)，0 (正常优先权)
</code></pre><p>ProcessPriority = 1</p>
<pre><code>Compression
    发送到客户端的数据包的压缩级别(1到9)，默认: 1 (速度快,不压缩)，9 (速度慢，最好的压缩)
</code></pre><p>Compression = 1</p>
<pre><code>PlayerLimit
    除GM之外，游戏最大在线玩家数量，默认: 1000
</code></pre><p>PlayerLimit = 100</p>
<pre><code>SaveRespawnTimeImmediately
    记录生物/游戏对象等再生时间设置，在生物死亡或箱子等被使用/打开情况下。
    默认: 1 (保存生物/游戏对象再生时间，开始于当前格没有卸载)
          0 (保存生物/游戏对象再生时间，开始于当前格卸载后)
</code></pre><p>SaveRespawnTimeImmediately = 1</p>
<pre><code>MaxOverspeedPings
    最大的超速限制，在玩家被踢出之前(最小值是2, 0为取消检测)，默认：2
</code></pre><p>MaxOverspeedPings = 0</p>
<pre><code>GridUnload
    卸载Grids (如果里的内存够大,可以禁用,提高玩家第二次经过新Grids时候的速度)
    P.S: Grids就是地图上刷出来的东西,玩家经过一个地方 就会加载该地方的环境,离开的时候 就卸载该地方的环境
    默认: 1 (卸载)， 0(不卸载)
</code></pre><p>GridUnload = 1</p>
<pre><code>SocketTimeOutTime
    与客户端断开连接当玩家在选择人物界面超过多少时间，默认：900000 (15分钟)
</code></pre><p>SocketTimeOutTime = 900000</p>
<pre><code>SessionAddDelay
    Description: Time (in microseconds) that a network thread will sleep after authentication
                 protocol handling before adding a connection to the world session map.
    Default:     10000 - (10 milliseconds, 0.01 second)
</code></pre><p>SessionAddDelay = 10000</p>
<pre><code>GridCleanUpDelay
    默认地图网格清理延迟(单位毫秒)，默认: 300000 (5 分钟)
</code></pre><p>GridCleanUpDelay = 300000</p>
<pre><code>MapUpdateInterval
    默认地图更新间隔(单位毫秒)，默认: 100 (1 秒)
</code></pre><p>MapUpdateInterval = 100</p>
<pre><code>ChangeWeatherInterval
    默认天气更新间隔 (单位毫秒)，默认: 600000 (10 分钟)
</code></pre><p>ChangeWeatherInterval = 9000000</p>
<pre><code>PlayerSaveInterval
    默认玩家数据保存间隔(单位毫秒)，默认:900000 - (15 分钟)
</code></pre><p>PlayerSaveInterval = 900000</p>
<pre><code>PlayerSave.Stats.MinLevel
    最低多少等级将玩家的属性数据保存到数据库    
    默认: 0  (不保存玩家的属性属性)    
          1+ (保存玩家的数据，玩家的等级 + 1)
</code></pre><p>PlayerSave.Stats.MinLevel = 0</p>
<pre><code>PlayerSave.Stats.SaveOnlyOnLogout
    启用保存玩家数据仅在玩家退出游戏时，默认：1(仅在玩家退出游戏时)，0(使用时间循环保存数据)
</code></pre><p>PlayerSave.Stats.SaveOnlyOnLogout = 1</p>
<pre><code>vmap.enableLOS
vmap.enableHeight
    开启/关闭VMmap视线和高度计算支持，开启后需要Vmaps文件支持，默认: 0 (关闭) 1 (开启)
</code></pre><p>vmap.enableLOS    = 1<br>vmap.enableHeight = 1</p>
<pre><code>vmap.ignoreSpellIds
    这些法术将被忽略准线算法，列表的ID以符号分割 &apos;,&apos;
    例:     &quot;7720,1337&quot;
    默认:     &quot;7720&quot;
</code></pre><p>vmap.ignoreSpellIds = “7720”</p>
<pre><code>vmap.petLOS
    对宠物开启vmaps，默认：0(不启用，低Cpu占用)，1(启用，高Cpu占用)
</code></pre><p>vmap.petLOS = 1</p>
<pre><code>vmap.enableIndoorCheck
    室内外检查光环 (坐骑等).
    默认:     1 - (启用)
              0 - (禁用，降低一些的CPU使用率)
</code></pre><p>vmap.enableIndoorCheck = 1</p>
<pre><code>DetectPosCollision
    检查最后的移动位置, 召唤位置, 可看见的碰撞以及其他对象或墙壁等位置测试(墙壁测试，只有当副本测试设置vmaps的相关设置启用后生效)
    默认: 1 (启用, 占用更多的CPU资源)，0 (关闭, 不理想的设置, 但可以节省较多的CUP资源，适合服务器档次较差的情况)
</code></pre><p>DetectPosCollision = 1</p>
<pre><code>TargetPosRecalculateRange
    重新计算目标移动后的依次的远近范围, 从移动的目标点 (+移动者的大小) 和被瞄准对象 (+大小)的最大距离
    根据激活瞬间的移动目标点开始重新计算协助半径,最大: 混战攻击范围(5), 最小: 联络范围(0.5)
    更大的距离,会使生物们表现更加完美, 较小的距离, 将会让生物们反应更精确敏感。
    默认: 1.5
</code></pre><p>TargetPosRecalculateRange = 1.5</p>
<pre><code>UpdateUptimeInterval
    系统正常运行更新时间周期以分钟为单位(用于更新 &apos;uptime&apos; 数据表)。必须大于0，默认: 10 分钟
</code></pre><p>UpdateUptimeInterval = 100</p>
<pre><code>LogDB.Opt.ClearInterval
    WUPDATE_CLEANDB 计时器清理log表旧数据的时间间隔。必须大于0，默认: 10 分钟
</code></pre><p>LogDB.Opt.ClearInterval = 100</p>
<pre><code>LogDB.Opt.ClearTime
    清理log表的时间间隔，默认: 1209600 (14 天)，0 - 不清理
</code></pre><p>LogDB.Opt.ClearTime = 0</p>
<pre><code>MaxCoreStuckTime
    周期的检查如果过程已经冻结, 如果发现过程已经冻结将在多少秒之后重启控制器。
    单位:秒, 必须大于0。如果使用此功能建议值大于10秒，默认: 0 (不使用)
</code></pre><p>MaxCoreStuckTime = 0</p>
<pre><code>AddonChannel
    在本服务器允许/禁用使用的插件频道(可以停止一些客户端扩展功能或关闭插件频道)，默认: 1 (允许) 、0 (关闭)
</code></pre><p>AddonChannel = 1</p>
<pre><code>MapUpdate.Threads
    地图线程数量，默认: 1
</code></pre><p>MapUpdate.Threads = 1</p>
<pre><code>CleanCharacterDB
    启用数据自动清理功能，默认：0(不启用)，1(启用)
</code></pre><p>CleanCharacterDB = 0</p>
<pre><code>PersistentCharacterCleanFlags
    Description: Determines the character clean flags that remain set after cleanups.
                 This is a bitmask value, check /doc/CharacterDBCleanup.txt for more
                 information.
    Example:     14 - (Cleaning up skills, talents and spells will remain enabled after the
                       next cleanup)
    Default:     0  - (All cleanup methods will be disabled after the next cleanup)
</code></pre><p>PersistentCharacterCleanFlags = 0</p>
<p> SERVER LOGGING</p>
<pre><code>PidFile
    是否创建登录控制器TrinityCore系统进程档案记录PID文件
</code></pre><p>PidFile = “”</p>
<pre><code>LogLevel
    服务器控制台记录显示的级别，0 = 最小; 1 = 基础和错误; 2 = 详细; 3 = 完全或侦错
</code></pre><p>LogLevel = 0</p>
<pre><code>LogFile
    日志文件的名字，默认：&quot;Server.log&quot;
</code></pre><p>LogFile = “”</p>
<pre><code>LogTimestamp
    日志文件用服务器时间命名与否，默认: 0 - 没有时间戳在名字、1 - 增加时间戳在名字在形式
</code></pre><p>LogTimestamp = 0</p>
<pre><code>LogFileLevel
    服务器记录文件的记录级别，0 = 最小; 1 = 基础和错误; 2 = 详细; 3 = 完全或侦错
</code></pre><p>LogFileLevel = 0</p>
<pre><code>Debug Log Mask
    描述：位掩码，确定哪些调试日志将被输出 (level 3)
    Possible flags:
               1 - Anything related to units that doesn&apos;t fit in other
                      categories.
               2 - Anything related to pets.
               4 - Anything related to vehicles. 
               8 - Anything related to C++ AI, instance scripts, etc.
              16 - Anything related to DB AI, such as SAI, EAI, CreatureAI
              32 - Anything related to DB map scripts
              64 - Anything related to network input/output,
                    such as packet handlers and netcode logs
             128 - Anything related to the spellsystem and aurasystem
             256 - Anything related to the achievement system
             512 - Anything related to the condition system
            1024 - Anything related to the pool system
            2048 - Anything related to the auction house
            4096 - Anything related to arena&apos;s and battlegrounds
            8192 - Anything related to outdoor PVP
           16384 - Anything related to the chat system
           32768 - Anything related to the LFG system
           65536 - Anything related to maps, instances (not scripts),
                   grids, cells, visibility, etc.
          131072 - Anything related to player loading from DB
                  (Player::_LoadXXX functions)
          262144 - Anything related to items
          524288 - Anything related to player skills 
                  (do not confuse with spells)
         1048576 - Anything related to loot
         2097152 - Anything related to guilds
         4194304 - Anything related to transports

                   Simply add the values together to create a bitmask.
                   For more info see enum DebugLogFilters in Log.h

         Default: 0 (nothing)
</code></pre><p>DebugLogMask = 0</p>
<pre><code>WorldLogFile
    世界服务器封包记录日志文件(World.log)空为不记录
</code></pre><p>WorldLogFile = “”</p>
<pre><code>DBErrorLogFile
    服务器运行中数据库错误日志，默认: &quot;DBErrors.log&quot;
</code></pre><p>DBErrorLogFile = “”</p>
<pre><code>CharLogFile
    角色活动日志文件名设置，默认:&quot;Char.log&quot;
</code></pre><p>CharLogFile = “”</p>
<pre><code>CharLogTimestamp
    角色日志文件是否使用服务器时间戳来顺序命名， 默认: 0 - 不使用时间戳名、1 - 使用时间戳命名日志文件
</code></pre><p>CharLogTimestamp = 0</p>
<pre><code>CharLogDump
    角色删除前是否同时清除在日志文件里的记录 Char.log，默认: 0 - 不包含日志文件内的角色记录、1 - 包含日志文件内的记录
</code></pre><p>CharLogDump = 0</p>
<pre><code>CharLogDump.Separate
    将角色删除信息写入一个单独的文件(账号、角色guid，角色名字)
    默认: 0 - 不单独创建一个文件
          1 - 单独创建一个文件
</code></pre><p>CharLogDump.Separate = 0</p>
<pre><code>CharLogDump.SeparateDir
    角色删除信息日志文件目录设置
</code></pre><p>CharLogDump.SeparateDir = “”</p>
<pre><code>GmLogFile
    记录GM命令使用情况的日志文件名，默认：&quot;GM.log&quot;
</code></pre><p>GmLogFile = “”</p>
<pre><code>GmLogTimestamp
    GM日志文件是否使用服务器时间戳来顺序命名，默认: 0 - 不包含日志文件内的角色记录、1 - 包含日志文件内的记录
</code></pre><p>GmLogTimestamp = 0</p>
<pre><code>GmLogPerAccount
    GM日志文件和GM账号ID (注: 如果 GmLogFile 设置不记录的话,此功能无效)
    默认: 0 - 添加GM日志数据到一个唯一的日志文件、1 - 添加GM日志数据到一个以此GM账号名为文件名的日志文件
</code></pre><p>GmLogPerAccount = 0</p>
<pre><code>RaLogFile
    RA控制台命令的日志文件，默认：&quot;Ra.log&quot;
</code></pre><p>RaLogFile = “”</p>
<pre><code>ArenaLogFile
    竞技日志文件名称，默认：&quot;&quot; - 不创建竞技日志
</code></pre><p>ArenaLogFile = “”</p>
<pre><code>ArenaLog.ExtendedInfo
    记录玩家的详细信息，默认：0(不记录)，1(记录)
</code></pre><p>ArenaLog.ExtendedInfo = 0</p>
<pre><code>SQLDriverLogFile
    记录Sql事件的文件名称，默认：&quot;&quot;(不使用)
</code></pre><p>SQLDriverLogFile = “”</p>
<pre><code>SQLDriverQueryLogging
    Description: Log SQL queries to the SQLDriverLogFile and console.
    Default:     0 - (Disabled, Query errors only)
                 1 - (Enabled, Full query logging - may have performance impact)
</code></pre><p>SQLDriverQueryLogging = 0</p>
<pre><code>LogColors
    控制台信息的颜色(格式: &quot;正常颜色 详情颜色 Debug颜色 错误颜色).
    Colors:      0  - Black
                 1  - Red
                 2  - Green
                 3  - Brown
                 4  - Blue
                 5  - Magenta
                 6  - Cyan
                 7  - Grey
                 8  - Yellow
                 9  - Lred
                 10 - Lgreen
                 11 - Lblue
                 12 - Lmagenta
                 13 - Lcyan
                 14 - White
    Example:     &quot;13 11 9 5&quot; - (Enabled)
    Default:     &quot;&quot;          - (Disabled)
</code></pre><p>LogColors = “13 11 9 5”</p>
<pre><code>EnableLogDB
    服务器日志保存在数据库，默认: 0 - 关闭，1 - 开启
</code></pre><p>EnableLogDB = 0</p>
<pre><code>DBLogLevel
    数据库日志的记录级别，0 = 最小; 1 = 基础和错误; 2 = 详细; 3 = 完全或侦错
</code></pre><p>DBLogLevel = 0</p>
<pre><code>LogDB.Char
    将角色日志信息写入数据库，默认：0(不使用)，1(使用)
</code></pre><p>LogDB.Char = 0</p>
<pre><code>LogDB.GM
    将使用的Gm命令信息写入数据库，默认：0(不使用)，1(使用)
</code></pre><p>LogDB.GM = 0</p>
<pre><code>LogDB.RA
    将使用RA控制台命令信息写入数据库，默认：0(不使用)，1(使用)
</code></pre><p>LogDB.RA = 0</p>
<pre><code>LogDB.World
    将世界服务器封包记录信息写入数据库，默认：0(不使用)，1(使用)
</code></pre><p>LogDB.World = 0</p>
<pre><code>LogDB.Chat
    将角色聊天记录信息写入数据库，默认：0(不使用)，1(使用)
</code></pre><p>LogDB.Chat = 0</p>
<pre><code>ChatLogFile
    聊天记录日志文件的名字，默认：&quot;Chat.log&quot;
</code></pre><p>ChatLogFile = “”</p>
<pre><code>ChatLogTimestamp
    聊天日志文件用服务器时间命名与否，默认: 0 - 没有时间戳在名字、1 - 增加时间戳在名字在形式
</code></pre><p>ChatLogTimestamp = 0</p>
<pre><code>ChatLogs.Channel
    启用 记录自主频道聊天信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Channel = 0</p>
<pre><code>ChatLogs.Whisper
    启用 记录玩家之间私聊信息
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Whisper = 0</p>
<pre><code>ChatLogs.SysChan
    Description: Log system channel messages.
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>ChatLogs.SysChan = 0</p>
<pre><code>ChatLogs.Party
    启用 记录小队聊天信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Party = 0</p>
<pre><code>ChatLogs.Raid
    启用 记录团队聊天信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Raid = 0</p>
<pre><code>ChatLogs.Guild
     启用 记录公会聊天信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Guild = 0</p>
<pre><code>ChatLogs.Public
     启用 记录公共聊天活动信息 (对话/大喊/表情)..
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Public = 0</p>
<pre><code>ChatLogs.Addon
    启用 记录插件信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.Addon = 0</p>
<pre><code>ChatLogs.BattleGround
    启用 记录战场聊天信息.
    Default: 0 - off
             1 - on
</code></pre><p>ChatLogs.BattleGround = 0</p>
<p> SERVER SETTINGS</p>
<pre><code>GameType
    登录服务器运行方式设置
    0 = NORMAL; 1 = PVP; 4 = NORMAL; 6 = RP; 8 = RPPVP; 16 FFA_PVP(除休息复活地方和禁猎区以外,所有的区域为PVP区)
</code></pre><p>GameType = 0</p>
<pre><code>RealmZone
    服务登录区域设置 (设置服务器支持的区域字符表/服务器名称列表等的正确显示)
    默认         1  - (全地区)
                 2  - (United States - extended-Latin)
                 3  - (Oceanic       - extended-Latin)
                 4  - (Latin America - extended-Latin)
                 5  - (Tournament    - basic-Latin at create, any at login)
                 6  - (Korea         - East-Asian)
                 7  - (Tournament    - basic-Latin at create, any at login)
                 8  - (English       - extended-Latin)
                 9  - (German        - extended-Latin)
                 10 - (French        - extended-Latin)
                 11 - (Spanish       - extended-Latin)
                 12 - (Russian       - Cyrillic)
                 13 - (Tournament    - basic-Latin at create, any at login)
                 14 - (Taiwan        - East-Asian)
                 15 - (Tournament    - basic-Latin at create, any at login)
                 16 - (China         - East-Asian)
                 17 - (CN1           - basic-Latin at create, any at login)
                 18 - (CN2           - basic-Latin at create, any at login)
                 19 - (CN3           - basic-Latin at create, any at login)
                 20 - (CN4           - basic-Latin at create, any at login)
                 21 - (CN5           - basic-Latin at create, any at login)
                 22 - (CN6           - basic-Latin at create, any at login)
                 23 - (CN7           - basic-Latin at create, any at login)
                 24 - (CN8           - basic-Latin at create, any at login)
                 25 - (Tournament    - basic-Latin at create, any at login)
                 26 - (Test Server   - any language)
                 27 - (Tournament    - basic-Latin at create, any at login)
                 28 - (QA Server     - any language)
                 29 - (CN9           - basic-Latin at create, any at login)
</code></pre><p>RealmZone = 1</p>
<pre><code>StrictPlayerNames
    玩家角色名称语言文字规定，默认：0(全符号支持)
</code></pre><p>StrictPlayerNames = 0</p>
<pre><code>StrictCharterNames
    公会/竞技团队名称语言文字规定，默认：0(全符号支持)
</code></pre><p>StrictCharterNames = 0</p>
<pre><code>StrictPetNames
    宠物名称语言文字规定，默认：0(全符号支持)
</code></pre><p>StrictPetNames = 0</p>
<pre><code>DBC.Locale
    DBC地区语言类型设置，默认：255(自动检测dbc语言类型)
    Default:     255 - (Auto Detect)
                 0   - (English)
                 1   - (Korean)
                 2   - (French)
                 3   - (German)
                 4   - (Chinese)
                 5   - (Taiwanese)
                 6   - (Spanish)
                 7   - (Spanish Mexico)
                 8   - (Russian)
</code></pre><p>DBC.Locale = 255</p>
<pre><code>DeclinedNames
    允许使用俄语字体创建角色，默认：0(不允许)，1(允许)
</code></pre><p>DeclinedNames = 0</p>
<pre><code>Expansion
    开放内容选择，0(普通)，1(燃烧的远程)，2(巫妖王之怒)
</code></pre><p>Expansion = 2</p>
<pre><code>MinPlayerName
    最短角色名称字符数量，默认：2
</code></pre><p>MinPlayerName = 2</p>
<pre><code>MinCharterName
    最短公会/竞技团队名称字符数量，默认：2
</code></pre><p>MinCharterName = 2</p>
<pre><code>MinPetName
    最短宠物名称字符数量，默认：2
</code></pre><p>MinPetName = 2</p>
<pre><code>MaxWhoListReturns
    客户端列表显示的最大在线玩家数量，默认：49(稳定)
</code></pre><p>MaxWhoListReturns = 49</p>
<pre><code>CharacterCreating.Disabled
    禁止建立新角色
    默认: 0 - 不限制建立新角色，1 - 禁止联盟建立角色，2 - 禁止部落建立角色，3 - 全部禁止建立角色
</code></pre><p>CharacterCreating.Disabled = 0</p>
<pre><code>CharacterCreating.Disabled.RaceMask
    禁止种族新建角色
    默认: 0 - 不限制建立新角色
    1 = 人类
    2 = 兽人
    4 = 矮人
    8 = 暗夜精灵
    16 = 亡灵
    32 = 牛头人
    64 = 侏儒
    128 = 巨魔
    512 = 血精灵
    1024 = 德莱尼

    例如: 1536 = 1024 + 512 - 德莱尼 和 血精灵 禁止建立新角色
</code></pre><p>CharacterCreating.Disabled.RaceMask = 0</p>
<pre><code>CharacterCreating.Disabled.ClassMask
    禁止职业建立新角色
    默认: 不限制建立新角色
    1 = 战士
    2 = 圣骑士
    4 = 猎人
    8 = 盗贼
    16 = 牧师
    32 = 死骑
    64 = 萨满
    128 = 法师
    256 = 术士
    1024 = 德鲁伊

    例如: 288 = 32 + 256 - 死骑 和 术士 禁止建立新角色
</code></pre><p>CharacterCreating.Disabled.ClassMask = 0</p>
<pre><code>CharactersPerAccount
    每个账号允许创建最大角色数量
</code></pre><p>CharactersPerAccount = 50</p>
<pre><code>CharactersPerRealm
    一个区相同账号最大角色数量
</code></pre><p>CharactersPerRealm = 10</p>
<pre><code>HeroicCharactersPerRealm
    一个区建立英雄职业(死亡骑士)的数量
</code></pre><p>HeroicCharactersPerRealm = 1</p>
<pre><code>CharacterCreating.MinLevelForHeroicCharacter
    创建英雄职业(死亡骑士)需要其它角色的等级，默认：55
</code></pre><p>CharacterCreating.MinLevelForHeroicCharacter = 80</p>
<pre><code>SkipCinematics
    角色第一次登陆播放电影脚本(允许或关闭通常情况下人物开始位置坐标处的剧情介绍)
     默认: 0 - 介绍每个新角色，1 - 仅介绍选中的种族，2 - 禁用介绍
</code></pre><p>SkipCinematics = 2</p>
<pre><code>MaxPlayerLevel
    获取经验的最高等级，默认：80，不推荐超越100级
</code></pre><p>MaxPlayerLevel = 80</p>
<pre><code>MinDualSpecLevel
    学习双天赋技能的最低等级，默认：40
</code></pre><p>MinDualSpecLevel = 80</p>
<pre><code>StartPlayerLevel
    普通角色出生等级，默认：1
</code></pre><p>StartPlayerLevel = 1</p>
<pre><code>StartHeroicPlayerLevel
    英雄职业(死亡骑士)出生等级，默认：55
</code></pre><p>StartHeroicPlayerLevel = 55</p>
<pre><code>StartPlayerMoney
    玩家出生赠送的金钱数量，1金币 = 100银币 = 10000铜币，默认：0金币
</code></pre><p>StartPlayerMoney = 0</p>
<pre><code>MaxHonorPoints
    玩家拥有的最大荣誉点数量，默认：75000
</code></pre><p>MaxHonorPoints = 75000</p>
<pre><code>StartHonorPoints
    玩家出生拥有的荣誉点数量，默认：0
</code></pre><p>StartHonorPoints = 0</p>
<pre><code>MaxArenaPoints
    玩家拥有的最大竞技点数量，默认：10000
</code></pre><p>MaxArenaPoints = 10000</p>
<pre><code>StartArenaPoints
    玩家出生拥有的竞技点数量，默认：0
</code></pre><p>StartArenaPoints = 0</p>
<pre><code>RecruitAFriend.MaxLevel
    Description: Highest level up to which a character can benefit from the Recruit-A-Friend
                 experience multiplier.
    Default:     60
</code></pre><p>RecruitAFriend.MaxLevel = 60</p>
<pre><code>RecruitAFriend.MaxDifference
    Description: Highest level difference between linked Recruiter and Friend benefit from
                 the Recruit-A-Friend experience multiplier.
    Default:     3
</code></pre><p>RecruitAFriend.MaxDifference = 3</p>
<pre><code>InstantLogout
    开启/关闭玩家退出或小退安全级别 (0..4)之间 (在非战斗/竞技/下降过程中)
    Default:     1  - (Enabled, Mods/GMs/Admins)
                 0  - (Enabled, Everyone)
                 2  - (Enabled, GMs/Admins)
                 3  - (Enabled, Admins)
                 4  - (Disabled)
</code></pre><p>InstantLogout = 1</p>
<pre><code>DisableWaterBreath
    关闭/开启水下呼吸会员等级要求 (0..4) 或则更高
    Default:     4  - (Disabled)
                 0  - (Enabled, Everyone)
                 1  - (Enabled, Mods/GMs/Admins)
                 2  - (Enabled, GMs/Admins)
                 3  - (Enabled, Admins)
</code></pre><p>DisableWaterBreath = 4</p>
<pre><code>AllFlightPaths
    角色创建后激活所有飞行点 (注:所有飞行点,不只包括角色所在队伍)，默认：1(启用)，0(禁用)
</code></pre><p>AllFlightPaths = 1</p>
<pre><code>InstantFlightPaths
    飞行路线将使玩家立即传送到目的地，而不用进行飞行等待，默认：0(不使用)，1(使用)
</code></pre><p>InstantFlightPaths = 0</p>
<pre><code>AlwaysMaxSkillForLevel
    玩家将登录时自动获取最大的技能等级(武器或防御)对全局生效，默认：1(启用)，0(禁用)
</code></pre><p>AlwaysMaxSkillForLevel = 0</p>
<pre><code>ActivateWeather
    启用天气系统，默认：1(启用)，0(禁用)
</code></pre><p>ActivateWeather = 1</p>
<pre><code>CastUnstuck
    允许在客户端帮助选择使用卡死技能 .start GM命令，默认：1(启用)，0(禁用)
</code></pre><p>CastUnstuck = 1</p>
<pre><code>Instance.IgnoreLevel
    取消进入副本的等级限制，默认：1(取消)，0(不取消)
</code></pre><p>Instance.IgnoreLevel = 1</p>
<pre><code>Instance.IgnoreRaid
    取消进入副本的组队限制，默认：1(取消)，0(不取消)
</code></pre><p>Instance.IgnoreRaid = 1</p>
<pre><code>Instance.ResetTimeHour
    每天副本重置时间(0-23)，默认：4
</code></pre><p>Instance.ResetTimeHour = 3</p>
<pre><code>Instance.UnloadDelay
    当副本没有玩家时，在一定时间内从内存清理副本地图。默认: 1800000 (毫秒, 即30分钟)，0 (副本地图存放在内存中，直到副本重置)
</code></pre><p>Instance.UnloadDelay = 600000</p>
<pre><code>Quests.LowLevelHideDiff
    玩家可以看到NPC头上的感叹号的任务等级比自己高的级数
    Default:     4  - (Enabled, Hide quests that have 4 levels less than the character)
                 -1 - (Disabled, Show all available quest marks)
</code></pre><p>Quests.LowLevelHideDiff = 15</p>
<pre><code>Quests.HighLevelHideDiff
    玩家可以看到NPC头上的感叹号的任务等级比自己低的级数
    Default:     7  - (Enabled, Hide quests that have 7 levels more than the character)
                 -1 - (Disabled, Show all available quest marks)
</code></pre><p>Quests.HighLevelHideDiff = 15</p>
<pre><code>Quests.IgnoreRaid
    Description: Allow non-raid quests to be completed while in a raid group.
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>Quests.IgnoreRaid = 0</p>
<pre><code>Guild.EventLogRecordsCount
    公会事件记录的最大数量，默认：100
</code></pre><p>Guild.EventLogRecordsCount = 100</p>
<pre><code>Guild.BankEventLogRecordsCount
    银行事件记录的最大数量，默认：25
</code></pre><p>Guild.BankEventLogRecordsCount = 25</p>
<pre><code>MaxPrimaryTradeSkill
    玩家最多可以学的商业技能个数，默认：2
</code></pre><p>MaxPrimaryTradeSkill = 13</p>
<pre><code>MinPetitionSigns
    建立公会所需的最少玩家签名个数，默认：9
</code></pre><p>MinPetitionSigns = 9</p>
<pre><code>MaxGroupXPDistance
    组队杀死怪物获得经验的最大距离(距离怪物)，默认：74
</code></pre><p>MaxGroupXPDistance = 74</p>
<pre><code>MaxRecruitAFriendBonusDistance
    Description: Max distance between character and and group to gain the Recruit-A-Friend
                 XP multiplier.
    Default:     100
</code></pre><p>MaxRecruitAFriendBonusDistance = 100</p>
<pre><code>MailDeliveryDelay
    邮寄物品延迟时间，默认：3600(1个小时)
</code></pre><p>MailDeliveryDelay = 600</p>
<pre><code>SkillChance.Prospecting
    默认情况下不可能提升预测技能, 但是可以使用配置来启用，默认: 0(不可以提升)，1(可以提升)
</code></pre><p>SkillChance.Prospecting = 0</p>
<pre><code>SkillChance.Milling
    为不可能消减的下隆等级水平, 但可以自定义设置，默认: 0(不消减)，1(可以消减)
</code></pre><p>SkillChance.Milling = 0</p>
<pre><code>OffhandCheckAtSpellUnlearn
    重置天赋时检查副手武器栏，0 - 只在更换地图，登陆时检查并重置， 1 - 在重置天赋的同时检查并重置
</code></pre><p>OffhandCheckAtSpellUnlearn = 1</p>
<pre><code>ClientCacheVersion
    重置客户端缓存，当更新数据库时，默认：0(关闭)，1(开启)
</code></pre><p>ClientCacheVersion = 0</p>
<pre><code>Event.Announce
    游戏活动事件公告，默认：0(关闭)，1(开启)
</code></pre><p>Event.Announce = 0</p>
<pre><code>BeepAtStart
    启动完毕后蜂鸣一声(通常只在Unix/Linux系统下工作)，默认：0(关闭)，1(开启)
</code></pre><p>BeepAtStart = 1</p>
<pre><code>Motd
    每日问候消息被显示在世界注册为每名用户(&apos;@&apos; 为换行符)
</code></pre><p>Motd = “欢迎来到魔兽世界单机版”</p>
<pre><code>Server.LoginInfo
    角色登陆后是否显示服务器信息，默认：0(关闭)，1(开启)
</code></pre><p>Server.LoginInfo = 0</p>
<pre><code>Command.LookupMaxResults
    Gm命令.lookup command 最大可显示的行数，默认：0(无限制)
    Default: 0 - unlimited
</code></pre><p>Command.LookupMaxResults = 0</p>
<pre><code>AllowTickets
    Description: Allow/disallow sending new tickets.
    Default:     1 - (Enabled)
                 0 - (Disabled)
</code></pre><p>AllowTickets = 1</p>
<p>   DungeonFinder.Enable<br>        启动随机组队功能，默认：1(开启)，0(关闭)</p>
<p>DungeonFinder.Enable = 0</p>
<p>   DBC.EnforceItemAttributes<br>        修复物品数据，可选择使用Dbc数据或者数据库数据<br>        默认: 1 - 开启，使用Dbc数据，0 - 关闭，使用数据库数据</p>
<p>DBC.EnforceItemAttributes = 1</p>
<p>   AccountInstancesPerHour 爆本<br>        Description: Controls the max amount of different instances player can enter within hour<br>        Default:     5</p>
<p>AccountInstancesPerHour = 5</p>
<p> PLAYER INTERACTION</p>
<pre><code>AllowTwoSide.Accounts
    是否运行同1个帐号建立不2个不同阵营的角色。默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Accounts = 1</p>
<pre><code>AllowTwoSide.Interaction.Chat
    否允许不同阵营间的玩家聊天，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Chat = 1</p>
<pre><code>AllowTwoSide.Interaction.Channel
    否允许不同阵营间的玩家(频道)，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Channel = 1</p>
<pre><code>AllowTwoSide.Interaction.Group
    否允许不同阵营间的玩家(组队)，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Group = 1</p>
<pre><code>AllowTwoSide.Interaction.Guild
    否允许不同阵营间的玩家(工会)，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Guild = 1</p>
<pre><code>AllowTwoSide.Interaction.Auction
    否允许不同阵营间的玩家(拍卖行)，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Auction = 1</p>
<pre><code>否允许不同阵营间的玩家(邮件)，默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Interaction.Mail = 1</p>
<pre><code>AllowTwoSide.WhoList
    是否在在线玩家列表里显示敌对阵营玩家。默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.WhoList = 1</p>
<pre><code>AllowTwoSide.AddFriend
    是否运行不同阵营之间互加好友。默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.AddFriend = 1</p>
<pre><code>AllowTwoSide.Trade
    是否运行不同阵营之间交易。默认：0(不允许)，1(允许)
</code></pre><p>AllowTwoSide.Trade = 1</p>
<pre><code>TalentsInspecting
    是否允许查看其他玩家天赋。默认：0(不允许)，1(允许)
</code></pre><p>TalentsInspecting = 1</p>
<p> CREATURE SETTINGS</p>
<pre><code>ThreatRadius
    生物脱离战斗的半径，当角色与生物距离大约该距离时，生物脱离战斗
</code></pre><p>ThreatRadius = 60</p>
<pre><code>Rate.Creature.Aggro 
    物自动攻击的范围乘以的倍数或者关闭自动攻击，默认：1 怪物视野
</code></pre><p>Rate.Creature.Aggro = 1</p>
<pre><code>CreatureFamilyFleeAssistanceRadius
    怪物进行逃跑时，能在自己多大直径内招来协助伙伴，默认：30，0(关闭)
</code></pre><p>CreatureFamilyFleeAssistanceRadius = 30</p>
<pre><code>CreatureFamilyAssistanceRadius
    同类生物(家族)协助攻击侦测范围，默认：10，0(关闭)
</code></pre><p>CreatureFamilyAssistanceRadius = 10</p>
<pre><code>CreatureFamilyAssistanceDelay
    同类生物(家族)协助攻击侦测时间，默认: 1500(1.5秒)
</code></pre><p>CreatureFamilyAssistanceDelay = 1000</p>
<pre><code>CreatureFamilyFleeDelay
    怪物逃离时找不到协助伙伴多长时间返回，默认，默认：7000 (7秒)
</code></pre><p>CreatureFamilyFleeDelay = 7000</p>
<pre><code>WorldBossLevelDiff
    世界BOSS动态变更与目标的等级差(适合单机或小型服务器调整难度之用)，默认：3
</code></pre><p>WorldBossLevelDiff = 1</p>
<pre><code>Corpse.Decay.NORMAL
Corpse.Decay.RARE
Corpse.Decay.ELITE
Corpse.Decay.RAREELITE
Corpse.Decay.WORLDBOSS
    普通、精英、稀有精英、BOSS、稀有普通怪等尸体在没有抢劫或剥皮等情况下腐烂消失的时间(单位:秒)
    默认: 60, 300, 300, 300, 3600
</code></pre><p>Corpse.Decay.NORMAL    = 150<br>Corpse.Decay.RARE      = 300<br>Corpse.Decay.ELITE     = 300<br>Corpse.Decay.RAREELITE = 300<br>Corpse.Decay.WORLDBOSS = 600</p>
<pre><code>Rate.Corpse.Decay.Looted
     普通、精英、稀有精英、BOSS、稀有普通怪等尸体在倍抢劫或者剥皮情况下腐烂消失时间倍率，配合上面时间设置
     默认：0.5
</code></pre><p>Rate.Corpse.Decay.Looted = 0.1</p>
<pre><code>Rate.Creature.Normal.Damage
Rate.Creature.Elite.Elite.Damage
Rate.Creature.Elite.RARE.Damage
Rate.Creature.Elite.RAREELITE.Damage
Rate.Creature.Elite.WORLDBOSS.Damage
    普通、精英、稀有精英、BOSS、稀有普通怪的物理攻击强度倍数，默认：1
</code></pre><p>Rate.Creature.Normal.Damage          = 2<br>Rate.Creature.Elite.Elite.Damage     = 1<br>Rate.Creature.Elite.RARE.Damage      = 1.5<br>Rate.Creature.Elite.RAREELITE.Damage = 1<br>Rate.Creature.Elite.WORLDBOSS.Damage = 0.1</p>
<pre><code>Rate.Creature.Normal.SpellDamage
Rate.Creature.Elite.Elite.SpellDamage
Rate.Creature.Elite.RARE.SpellDamage
Rate.Creature.Elite.RAREELITE.SpellDamage
Rate.Creature.Elite.WORLDBOSS.SpellDamage
    普通、精英、稀有精英、BOSS、稀有普通怪魔法攻击强度倍偻，默认：1
</code></pre><p>Rate.Creature.Normal.SpellDamage          = 2<br>Rate.Creature.Elite.Elite.SpellDamage     = 1<br>Rate.Creature.Elite.RARE.SpellDamage      = 1.5<br>Rate.Creature.Elite.RAREELITE.SpellDamage = 1<br>Rate.Creature.Elite.WORLDBOSS.SpellDamage = 0.5</p>
<pre><code>Rate.Creature.Normal.HP
Rate.Creature.Elite.Elite.HP
Rate.Creature.Elite.RARE.HP
Rate.Creature.Elite.RAREELITE.HP
Rate.Creature.Elite.WORLDBOSS.HP
    普通、精英、稀有精英、BOSS、稀有普通怪的血量倍数，默认：1
</code></pre><p>Rate.Creature.Normal.HP          = 2<br>Rate.Creature.Elite.Elite.HP     = 1<br>Rate.Creature.Elite.RARE.HP      = 1.5<br>Rate.Creature.Elite.RAREELITE.HP = 1<br>Rate.Creature.Elite.WORLDBOSS.HP = 0.5</p>
<pre><code>ListenRange.Say
    生物(或其它的游戏对象)说话时，玩家能看到文字和听到声音的距离，默认：40
</code></pre><p>ListenRange.Say = 40</p>
<pre><code>ListenRange.TextEmote
    生物(或其它的游戏对象)发出表情信息时，玩家能看到表情内容和听到声音的距离，默认：40
</code></pre><p>ListenRange.TextEmote = 40</p>
<pre><code>ListenRange.Yell
    生物(或其它的游戏对象)叫喊时，玩家能看到文字和听到声音的距离，默认：300
</code></pre><p>ListenRange.Yell = 300</p>
<p> CHAT SETTINGS</p>
<pre><code>ChatFakeMessagePreventing
    聊天保护功能，防止由于恶意玩家输入了特殊符号造成身边玩家客户端工作异常问题
    默认: 0 - 不保护，1 - 保护
</code></pre><p>ChatFakeMessagePreventing = 0</p>
<pre><code>ChatStrictLinkChecking.Severity
    Description: Check chat messages for ingame links to spells, items, quests, etc.
    Default:     0 - (Disabled)
                 1 - (Enabled, Check if only valid pipe commands are used, Prevents posting
                     pictures.)
                 2 - (Enabled, Verify that pipe commands are used in a correct order)
                 3 - (Check if color, entry and name don&apos;t contradict each other. For this to
                     work correctly, please assure that you have extracted locale DBCs of
                     every language specific client playing on this server)
</code></pre><p>ChatStrictLinkChecking.Severity = 0</p>
<pre><code>ChatStrictLinkChecking.Kick
    Description: Defines what should be done if a message is considered to contain invalid
                 pipe commands.
    Default:     0 - (Silently ignore message)
                 1 - (Disconnect players who sent malformed messages)
</code></pre><p>ChatStrictLinkChecking.Kick = 0</p>
<pre><code>ChatFlood.MessageCount
    Description: Chat flood protection, number of messages before player gets muted.
    Default:     10 - (Enabled)
                 0  - (Disabled)
</code></pre><p>ChatFlood.MessageCount = 10</p>
<pre><code>ChatFlood.MessageDelay
    Description: Time (in seconds) between messages to be counted into ChatFlood.MessageCount.
    Default:     1
</code></pre><p>ChatFlood.MessageDelay = 1</p>
<pre><code>ChatFlood.MuteTime
    Description: Time (in seconds) characters get muted for violating ChatFlood.MessageCount.
    Default:     10
</code></pre><p>ChatFlood.MuteTime = 10</p>
<pre><code>Channel.RestrictedLfg
    Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
    Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
                 0 - (Disabled, Allow join to channel in any time)
</code></pre><p>Channel.RestrictedLfg = 1</p>
<pre><code>Channel.SilentlyGMJoin
    Description: Silently join GM characters to channels
    Default:     0 - (Disabled, Join with announcement)
                 1 - (Enabled, Join without announcement)
</code></pre><p>Channel.SilentlyGMJoin = 0</p>
<pre><code>ChatLevelReq.Channel
    Description: Level requirement for characters to be able to write in chat channels.
    Default:     1
</code></pre><p>ChatLevelReq.Channel = 1</p>
<pre><code>ChatLevelReq.Whisper
    Description: Level requirement for characters to be able to whisper other characters.
    Default:     1
</code></pre><p>ChatLevelReq.Whisper = 1</p>
<pre><code>ChatLevelReq.Say
    Description: Level requirement for characters to be able to use say/yell/emote.
    Default:     1
</code></pre><p>ChatLevelReq.Say = 1</p>
<pre><code>AllowPlayerCommands
    是否允许玩家使用游戏命令，默认：1(允许)，0(不允许)
</code></pre><p>AllowPlayerCommands = 1</p>
<pre><code>PreserveCustomChannels
    Description: Store custom chat channel settings like password, automatic ownership handout
                 or ban list in the database. Needs to be enabled to save custom
                 world/trade/etc. channels that have automatic ownership handout disabled.
                 (.channel set ownership $channel off)
    Default:     0 - (Disabled, Blizzlike, Channel settings are lost if last person left)
                 1 - (Enabled)
</code></pre><p>PreserveCustomChannels = 1</p>
<pre><code>PreserveCustomChannelDuration
    Description: Time (in days) that needs to pass before the customs chat channels get
                 cleaned up from the database. Only channels with ownership handout enabled
                 (default behavior) will be cleaned.
    Default:     14 - (Enabled, Clean channels that haven&apos;t been used for 14 days)
                 0  - (Disabled, Infinite channel storage)
</code></pre><p>PreserveCustomChannelDuration = 14</p>
<p> GAME MASTER SETTINGS</p>
<pre><code>GM.LoginState
    登录时GM是否进入管理模式，默认: 2 - 上次离开时状态，0 - 不进入管理默认，1 - 进入管理模式
</code></pre><p>GM.LoginState = 2</p>
<pre><code>GM.Visible
    登录时GM是否隐身，默认: 2 - 上次离开时状态，0 - 不隐身，1 - 隐身
</code></pre><p>GM.Visible = 2</p>
<pre><code>GM.Chat
    登录时GM是否进入Blz聊天默认，默认: 2 - 上次离开时状态，0 - 不使用，1 - 使用
</code></pre><p>GM.Chat = 2</p>
<pre><code>GM.WhisperingTo
    登录时GM是否允许接收玩家的悄悄话，默认: 2 - 上次离开时状态，0 - 不接收，1 - 接收
</code></pre><p>GM.WhisperingTo = 2</p>
<pre><code>GM.InGMList.Level
    是否显示指定等级的GM显示列表(当GM隐身时)或则(.gm off)
    默认: 3(全部)，0(玩家)，1(普通GM)，2(高级GM)
</code></pre><p>GM.InGMList.Level = 3</p>
<pre><code>GM.InWhoList.Level
    Description: Max GM level showed in who list (if visible).
    Default:     3 - (Anyone)
                 0 - (Only players)
                 1 - (Only moderators)
                 2 - (Only gamemasters)
</code></pre><p>GM.InWhoList.Level = 3</p>
<pre><code>GM.LogTrade
    是否记录GM交易信息在GM日志内，默认：1(开启)，0(不开启)
</code></pre><p>GM.LogTrade = 0</p>
<pre><code>GM.StartLevel
    GM新建角色等级，默认：1
</code></pre><p>GM.StartLevel = 1</p>
<pre><code>GM.AllowInvite
    Description: Allow players to invite GM characters.
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>GM.AllowInvite = 0</p>
<pre><code>GM.AllowFriend
    Description: Allow players to add GM characters to their friends list.
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>GM.AllowFriend = 0</p>
<pre><code>GM.LowerSecurity
    Description: Allow lower security levels to use commands on higher security level
                 characters.
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>GM.LowerSecurity = 0</p>
<pre><code>GM.AllowAchievementGain
    是否允许GM获得系统成就，默认: 1(允许)，0(不允许)
</code></pre><p>GM.AllowAchievementGain = 1</p>
<pre><code>GM.TicketSystem.ChanceOfGMSurvey
    Description: Chance of sending a GM survey after ticket completion.
    Default:     50 - (Enabled)
                 0  - (Disabled)
</code></pre><p>GM.TicketSystem.ChanceOfGMSurvey = 50</p>
<p> VISIBILITY AND DISTANCES</p>
<pre><code>Visibility.GroupMode
    团队可见模式
    默认: 0 (标准设置：只有同一个团队的队友才可以100%侦测隐形玩家)
          1 (只有同一个小队的队友才可以100%侦测隐形玩家)
          2 (同一阵营的队友可以100%侦测隐形玩家)
</code></pre><p>Visibility.GroupMode = 0</p>
<pre><code>Visibility.Distance.Continents
Visibility.Distance.Instances
Visibility.Distance.BGArenas
    在不同的地图可视范围距离.
    在普通大陆的可视距离 ~90 码. 在战场/竞技场  ~180. 在副本的可视范围默认为 ~120.
    最大距离: ~ 333
    最低是最大 aggro 半径 (45) * Rate.Creature.Aggro
</code></pre><p>Visibility.Distance.Continents = 90<br>Visibility.Distance.Instances = 120<br>Visibility.Distance.BGArenas = 180</p>
<pre><code>Visibility.Notify.Period.OnContinents
Visibility.Notify.Period.InInstances
Visibility.Notify.Period.InBGArenas
    Description: Time (in milliseconds) for visibility update period. Lower values may have
                 performance impact.
    Default:     1000 - (Visibility.Notify.Period.OnContinents)
                 1000 - (Visibility.Notify.Period.InInstances)
                 1000 - (Visibility.Notify.Period.InBGArenas)
</code></pre><p>Visibility.Notify.Period.OnContinents = 1000<br>Visibility.Notify.Period.InInstances  = 1000<br>Visibility.Notify.Period.InBGArenas   = 1000</p>
<p> SERVER RATES</p>
<pre><code>Rate.Health
Rate.Mana
Rate.Rage.Income
Rate.Rage.Loss
Rate.RunicPower.Income
Rate.RunicPower.Loss
Rate.Focus
Rate.Energy
Rate.Loyalty
    生命、魔法、怒气增长、怒气减少、符文能量增长、符文能量减少、仇恨、忠诚度倍率
</code></pre><p>Rate.Health            = 1<br>Rate.Mana              = 1<br>Rate.Rage.Income       = 1<br>Rate.Rage.Loss         = 1<br>Rate.RunicPower.Income = 1<br>Rate.RunicPower.Loss   = 1<br>Rate.Focus             = 1<br>Rate.Energy            = 1<br>Rate.Loyalty           = 1</p>
<pre><code>Rate.Skill.Discovery
    专业技能点数升级倍数
</code></pre><p>Rate.Skill.Discovery = 1</p>
<pre><code>Rate.Drop.Item.Poor
Rate.Drop.Item.Normal
Rate.Drop.Item.Uncommon
Rate.Drop.Item.Rare
Rate.Drop.Item.Epic
Rate.Drop.Item.Legendary
Rate.Drop.Item.Artifact
Rate.Drop.Item.Referenced
Rate.Drop.Money
    粗糙、普通、优秀、精良、史诗、橙色、传说、任务、任务物品数量、金币爆率倍率
</code></pre><p>Rate.Drop.Item.Poor             = 1<br>Rate.Drop.Item.Normal           = 1<br>Rate.Drop.Item.Uncommon         = 2<br>Rate.Drop.Item.Rare             = 2<br>Rate.Drop.Item.Epic             = 2<br>Rate.Drop.Item.Legendary        = 2<br>Rate.Drop.Item.Artifact         = 1<br>Rate.Drop.Item.Referenced       = 1<br>Rate.Drop.Money                 = 0.01</p>
<pre><code>Rate.Drop.Item.ReferencedAmount
    Description: Multiplier for referenced loot amount.
    Default:     1
</code></pre><p>Rate.Drop.Item.ReferencedAmount = 1</p>
<pre><code>Rate.XP.Kill
Rate.XP.Quest
Rate.XP.Explore
    杀怪、任务、探索地图获得经验倍率
</code></pre><p>Rate.XP.Kill    = 1<br>Rate.XP.Quest   = 1<br>Rate.XP.Explore = 0.1</p>
<pre><code>Rate.RepairCost
    修理装备价格倍率
</code></pre><p>Rate.RepairCost = 2</p>
<pre><code>Rate.Rest.InGame
Rate.Rest.Offline.InTavernOrCity
Rate.Rest.Offline.InWilderness
    精力条增长倍率 (1 - 正常, 2 - 两倍增长, 0.5 - 半倍增长)
</code></pre><p>Rate.Rest.InGame                 = 1<br>Rate.Rest.Offline.InTavernOrCity = 1<br>Rate.Rest.Offline.InWilderness   = 1</p>
<pre><code>Rate.Damage.Fall
    空中跌落伤害倍率(1 - 标准, 2 - 两倍伤害, 0.5 - 一半伤害)
</code></pre><p>Rate.Damage.Fall = 1</p>
<pre><code>Rate.Auction.Time
Rate.Auction.Deposit
Rate.Auction.Cut
    拍卖倍率(拍卖时间, 开始拍卖时的存款倍率, 在拍卖结束拍卖价格削减比例)
</code></pre><p>Rate.Auction.Time    = 1<br>Rate.Auction.Deposit = 1<br>Rate.Auction.Cut     = 1</p>
<pre><code>Rate.Honor
    荣誉增长倍率
</code></pre><p>Rate.Honor = 1</p>
<pre><code>Rate.Mining.Amount
Rate.Mining.Next
    采矿开采倍率
</code></pre><p>Rate.Mining.Amount = 1</p>
<pre><code>Rate.Mining.Next
    Description: Mining rates.
    Default:     Chance to to mine a deposit again.
</code></pre><p>Rate.Mining.Next = 1</p>
<pre><code>Rate.Talent
    天赋增长倍率
</code></pre><p>Rate.Talent = 2</p>
<pre><code>Rate.Reputation.Gain
    声望增长倍率
</code></pre><p>Rate.Reputation.Gain = 1</p>
<pre><code>Rate.Reputation.LowLevel.Kill
Rate.Reputation.LowLevel.Quest
    低等级杀人、任务获得荣誉倍率
</code></pre><p>Rate.Reputation.LowLevel.Kill = 1</p>
<pre><code>Rate.Reputation.LowLevel.Quest
    Description: Reputation gain rate.
    Default:     1
</code></pre><p>Rate.Reputation.LowLevel.Quest = 1</p>
<pre><code>Rate.Reputation.RecruitAFriendBonus
    Description: Reputation bonus rate for recruit-a-friend.
    Default:     0.1
</code></pre><p>Rate.Reputation.RecruitAFriendBonus = 0.1</p>
<pre><code>Rate.MoveSpeed
    角色移动速度倍率，默认：1(不提高)，1.4(提高40%移动速度)
</code></pre><p>Rate.MoveSpeed = 1</p>
<pre><code>Rate.InstanceResetTime
    团队副本/英雄副本重置时间倍率
</code></pre><p>Rate.InstanceResetTime = 0.01</p>
<pre><code>SkillGain.Crafting
SkillGain.Defense
SkillGain.Gathering
SkillGain.Weapon
    制造/防御/采集/武器技能增益技能成长倍率
</code></pre><p>SkillGain.Crafting  = 1<br>SkillGain.Defense   = 1<br>SkillGain.Gathering = 1<br>SkillGain.Weapon    = 1</p>
<pre><code>SkillChance.Orange
SkillChance.Yellow
SkillChance.Green
SkillChance.Grey
    技能熟练度提升几率
</code></pre><p>SkillChance.Orange = 100<br>SkillChance.Yellow = 60<br>SkillChance.Green  = 30<br>SkillChance.Grey   = 0</p>
<pre><code>SkillChance.MiningSteps
SkillChance.SkinningSteps
    剥皮和采矿机会减少与技能水平，默认: 0  - 不减少
</code></pre><p>SkillChance.MiningSteps   = 0<br>SkillChance.SkinningSteps = 0</p>
<pre><code>DurabilityLoss.InPvP
    角色Pvp死亡装备是否掉持久度，1(掉落)，0(不掉落)
</code></pre><p>DurabilityLoss.InPvP = 0</p>
<pre><code>DurabilityLoss.OnDeath
    角色正常死亡装备持久度掉落倍率，10(标准)，20(双倍)，5(一半)
</code></pre><p>DurabilityLoss.OnDeath = 10</p>
<pre><code>DurabilityLossChance.Damage
    Description: Chance to lose durability on one equipped item from damage.
    Default:     0.5 - (100/0.5 = 200, Each 200 damage one equipped item will use durability)
</code></pre><p>DurabilityLossChance.Damage = 0.5</p>
<pre><code>DurabilityLossChance.Absorb
   死亡后装备耐久、护甲、招架、格挡的损耗倍率
</code></pre><p>DurabilityLossChance.Absorb = 0.5<br>DurabilityLossChance.Parry = 0.05<br>DurabilityLossChance.Block = 0.05</p>
<pre><code>Death.SicknessLevel
    灵魂医师复活玩家产生复活虚弱的等级，默认：81(无死亡虚弱时间)
</code></pre><p>Death.SicknessLevel = 81</p>
<pre><code>Death.CorpseReclaimDelay.PvP
Death.CorpseReclaimDelay.PvE
    允许/禁止在PVP/PVE服务器造成普通死亡时增加复活延迟，默认：1(允许)，0(不允许)
</code></pre><p>Death.CorpseReclaimDelay.PvP = 0<br>Death.CorpseReclaimDelay.PvE = 0</p>
<pre><code>Death.Bones.World
Death.Bones.BattlegroundOrArena
    启用/关闭复活时创建骨头代替尸体(在正常区域或副本,或者战场或者竞技场)，默认：1(开启)，0(关闭)
</code></pre><p>Death.Bones.World               = 1<br>Death.Bones.BattlegroundOrArena = 1</p>
<pre><code>Die.Command.Mode
    选择GM命令：.die的形式，默认：1(无爆率)，0(有爆率)
</code></pre><p>Die.Command.Mode = 0</p>
<p>自动公告</p>
<p> AUTO BROADCAST</p>
<pre><code>AutoBroadcast.On
    是否启用游戏公告系统，默认：1(启用)，0(关闭)
</code></pre><p>AutoBroadcast.On = 1</p>
<pre><code>AutoBroadcast.Center
    公告类型设置，默认：0(聊天窗口)，1(屏幕上方)，2(同时使用上述两种方式)
</code></pre><p>AutoBroadcast.Center = 0</p>
<pre><code>AutoBroadcast.Timer
    公告间隔时间，默认：60000(1分钟)
</code></pre><p>AutoBroadcast.Timer = 3000000</p>
<p> BATTLEGROUND CONFIG</p>
<pre><code>Battleground.CastDeserter
    玩家强制离开战场是否判断为逃兵，默认：1(开启)，0(关闭)
</code></pre><p>Battleground.CastDeserter = 1</p>
<pre><code>Battleground.QueueAnnouncer.Enable
    启用战场排队广告系统，默认：0(关闭)，1(开启)
</code></pre><p>Battleground.QueueAnnouncer.Enable = 0</p>
<pre><code>Battleground.QueueAnnouncer.PlayerOnly
    战场排队广告系统，0(全部玩家)，1(仅战场玩家)
</code></pre><p>Battleground.QueueAnnouncer.PlayerOnly = 0</p>
<pre><code>Battleground.InvitationType
    战场邀请类型(排队提示进入战场类型)
        默认: 0 (普通 - 邀请所有申请玩家, 不开启动态平衡)
              1 (测试 - 不允许大量单一阵营玩家进入)
</code></pre><p>Battleground.InvitationType = 0</p>
<pre><code>Battleground.PrematureFinishTimer
    如有一方玩家少于最小玩家要求,将开启战场强制关闭时间，默认: 300000 (5分钟)
</code></pre><p>BattleGround.PrematureFinishTimer = 300000</p>
<pre><code>BattleGround.PremadeGroupWaitForMatch
    在进入战场后一方团队等待另一方团队的战场等待时间，默认: 1800000 (30 分钟)
</code></pre><p>BattleGround.PremadeGroupWaitForMatch = 1800000</p>
<pre><code>Battleground.GiveXPForKills
    在战场杀死玩家是否获得经验，默认：0(不给)，1(给)
</code></pre><p>Battleground.GiveXPForKills = 0</p>
<pre><code>Battleground.Random.ResetHour
    随机战场在每日的几时重置，默认：6
</code></pre><p>Battleground.Random.ResetHour = 6</p>
<p> ARENA CONFIG</p>
<pre><code>Arena.MaxRatingDifference
    竞技场排名设置,最大排名差: 在排名赛中，两队之间最大排名的差值限止
</code></pre><p>Arena.MaxRatingDifference = 150</p>
<pre><code>Arena.RatingDiscardTimer
    排名作废计时: 经过指定的毫秒数以后, 当前选择的比赛队伍时排名信息将作废，也同样可以用这个计时来激活更新
</code></pre><p>Arena.RatingDiscardTimer = 600000</p>
<pre><code>Arena.AutoDistributePoints
    自动分配点数: 设置竞技场点数是否应当每周自动分配, 否则就用GM指令来分配
         默认: 0 (禁止) (推荐): 使用GM指令(.flusharenapoints)或者sql命令行来分配点数
               1 (激活): 竞技场点数被自动分配
</code></pre><p>Arena.AutoDistributePoints = 0</p>
<pre><code>Arena.AutoDistributeInterval
    点数自动分配的间隔时间，如果自动启用单位：天
</code></pre><p>Arena.AutoDistributeInterval = 7</p>
<pre><code>Arena.QueueAnnouncer.Enable
    竞技场:启用排队播音员广播聊天，默认: 0 (不启用)，1 (启用)
</code></pre><p>Arena.QueueAnnouncer.Enable = 0</p>
<pre><code>Arena.ArenaSeason.ID
    本赛季目前的地区编号显示在用户端，默认：1(范围1-8)
</code></pre><p>Arena.ArenaSeason.ID = 8</p>
<pre><code>Arena.ArenaSeason.InProgress
    本赛季目前领域的状态，默认:1 (激活状态)，0 (完成状态)
</code></pre><p>Arena.ArenaSeason.InProgress = 1</p>
<pre><code>Arena.ArenaStartRating
    Description: Start rating for new arena teams.
    Default:     0
</code></pre><p>Arena.ArenaStartRating = 0</p>
<pre><code>Arena.ArenaStartPersonalRating
    Description: Start personal rating when joining a team.
    Default:     0
</code></pre><p>Arena.ArenaStartPersonalRating = 0</p>
<pre><code>Arena.ArenaStartMatchmakerRating
    Description: Start matchmaker rating for players.
    Default:     1500
</code></pre><p>Arena.ArenaStartMatchmakerRating = 1500</p>
<p> NETWORK CONFIG</p>
<pre><code>Network.Threads
    Description: Number of threads for network.
     Default:    1 - (Recommended 1 thread per 1000 connections)
</code></pre><p>Network.Threads = 1</p>
<pre><code>Network.OutKBuff
    Description: Amount of memory (in bytes) used for the output kernel buffer (see SO_SNDBUF
                 socket option, TCP manual).
    Default:     -1 - (Use system default setting)
</code></pre><p>Network.OutKBuff = -1</p>
<pre><code>Network.OutUBuff
    Description: Amount of memory (in bytes) reserved in the user space per connection for
                 output buffering.
     Default:    65536
</code></pre><p>Network.OutUBuff = 65536</p>
<pre><code>Network.TcpNoDelay:
    Description: TCP Nagle algorithm setting.
     Default:    0 - (Enabled, Less traffic, More latency)
                 1 - (Disabled, More traffic, Less latency, TCP_NO_DELAY)
</code></pre><p>Network.TcpNodelay = 1</p>
<p> CONSOLE AND REMOTE ACCESS</p>
<pre><code>Console.Enable
    Description: Enable console.
    Default:     1 - (Enabled)
                 0 - (Disabled)
</code></pre><p>Console.Enable = 1</p>
<pre><code>Ra.Enable 远程控制台开关
    Description: Enable remote console (telnet).
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>Ra.Enable = 0</p>
<pre><code>Ra.IP
    Description: Bind remote access to IP/hostname.
    Default:     &quot;0.0.0.0&quot; - (Bind to all IPs on the system)
</code></pre><p>Ra.IP = “0.0.0.0”</p>
<pre><code>Ra.Port
    Description: TCP port to reach the remote console.
    Default:     3443
</code></pre><p>Ra.Port = 3443</p>
<pre><code>Ra.MinLevel
    Description: Required security level to use the remote console.
    Default:     3
</code></pre><p>Ra.MinLevel = 3</p>
<pre><code>SOAP.Enable
    Description: Enable soap service
    Default:     0 - (Disabled)
                 1 - (Enabled)
</code></pre><p>SOAP.Enabled = 0</p>
<pre><code>SOAP.IP
    Description: Bind SOAP service to IP/hostname
    Default:     &quot;127.0.0.1&quot; - (Bind to localhost)
</code></pre><p>SOAP.IP = “127.0.0.1”</p>
<pre><code>SOAP.Port
    Description: TCP port to reach the SOAP service.
    Default:     7878
</code></pre><p>SOAP.Port = 7878</p>
<p> CHARACTER DELETE OPTIONS</p>
<pre><code>CharDelete.Method
    Description: Character deletion behavior.
    Default:     0 - (Completely remove character from the database)
                 1 - (Unlink the character from account and free up the name, Appears as
                     deleted ingame)
</code></pre><p>CharDelete.Method = 0</p>
<pre><code>CharDelete.MinLevel
    Description: Required level to use the unlinking method if enabled.
    Default:     0  - (Same method for every level)
                 1+ - (Only characters with the specified level will use the unlinking method)
</code></pre><p>CharDelete.MinLevel = 0</p>
<pre><code>CharDelete.KeepDays
    Description: Time (in days) before unlinked characters will be removed from the database.
    Default:     30 - (Enabled)
                 0  - (Disabled, Don&apos;t delete any characters)
</code></pre><p>CharDelete.KeepDays = 30</p>
<p> CUSTOM SERVER OPTIONS</p>
<pre><code>PlayerStart.AllReputation
    角色创建后获得全部的声望，默认：1(开启)，0(关闭)
</code></pre><p>PlayerStart.AllReputation = 0</p>
<pre><code>PlayerStart.AllSpells
    角色创建后学习全部技能，配合数据库playercreateinfo_spell_custom，请不要开启此功能
    默认:0 (关闭)，1 (开启)
</code></pre><p>PlayerStart.AllSpells = 0</p>
<pre><code>PlayerStart.MapsExplored
    角色创建后探索成就全满，默认：1(开启)，0(关闭)
</code></pre><p>PlayerStart.MapsExplored = 0</p>
<pre><code>HonorPointsAfterDuel
    决斗后获胜方得到的荣誉，默认：0(关闭)，1(开启)
</code></pre><p>HonorPointsAfterDuel = 0</p>
<pre><code>AlwaysMaxWeaponSkill
    玩家升级将自动获得最大武器熟练度和防御度，默认：1(开启)，0(关闭)
</code></pre><p>AlwaysMaxWeaponSkill = 0</p>
<pre><code>PvPToken.Enable
    开启PVP奖励系统，玩家将通过此系统从其他玩家那里得到经验值，默认：0(关闭)，1(开启)
</code></pre><p>PvPToken.Enable = 0</p>
<pre><code>PvPToken.MapAllowType
    玩家在那些地方会出现PVP奖励
    4 - 所有地图里
    3 - 战场
    2 - 竞技场
    1 - 战场和竞技场
</code></pre><p>PvPToken.MapAllowType = 4</p>
<pre><code>PvPToken.ItemID
    杀死对手后获胜方获得的物品Id，默认：29434
</code></pre><p>PvPToken.ItemID = 29434</p>
<pre><code>PvPToken.ItemCount
    杀死对手后获胜方获得的物品数量，默认：1
</code></pre><p>PvPToken.ItemCount = 1</p>
<pre><code>NoResetTalentsCost
    重置天赋是否免费，默认：0(关闭)，1(开启)
</code></pre><p>NoResetTalentsCost = 0</p>
<pre><code>Guild.AllowMultipleGuildMaster
   Description: Allow more than one guild master. Additional Guild Masters must be set using
                the &quot;.guild rank&quot; command.
   Default:     0 - (Disabled)
                1 - (Enabled)
</code></pre><p>Guild.AllowMultipleGuildMaster = 0</p>
<p>   ShowKickInWorld<br>        踢出玩家是否进行世界公告，0(不公告)，1(公告)</p>
<p>ShowKickInWorld = 0</p>
<p>   RecordUpdateTimeDiffInterval<br>        服务端数据更新间隔时间，默认：60000，diff &lt; 300 状态良好，diff &gt; 600 状态较差，可能出现当机</p>
<p>RecordUpdateTimeDiffInterval = 60000</p>
<p>   MinRecordUpdateTimeDiff<br>        间隔大于该值(MinRecordUpdateTimeDiff)后记录唯一的更新时间差，默认：100</p>
<p>MinRecordUpdateTimeDiff = 100</p>
<p>   PlayerStart.String<br>       自定义角色登陆后显示的信息，默认：””</p>
<p>PlayerStart.String = “Welcome”</p>
<p>   LevelReq.Trade<br>        角色使用交易系统的最低等级，默认：1</p>
<p>LevelReq.Trade = 1</p>
<p>   LevelReq.Ticket<br>        角色使用拍报告系统的最低等级，默认：1</p>
<p>LevelReq.Ticket = 1</p>
<p>   LevelReq.Auction<br>        角色使用拍卖行系统的最低等级，默认：1</p>
<p>LevelReq.Auction = 1</p>
<p>   LevelReq.Mail<br>        角色使用邮件系统的最低等级，默认：1</p>
<p>LevelReq.Mail = 1</p>

      
    </div>
    
    
    

    

    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div>坚持原创技术分享，您的支持将鼓励我继续创作！</div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>打赏</span>
  </button>
  <div id="QR" style="display: none;">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="https://i.loli.net/2018/11/13/5be9fa265c642.jpg" alt="Whitehat 微信支付">
        <p>微信支付</p>
      </div>
    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="https://i.loli.net/2018/11/13/5be9fa265c642.jpg" alt="Whitehat 支付宝">
        <p>支付宝</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    
      <div>
        <ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者：</strong>
    Whitehat
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="https://whitehat666.gitee.io/blog/2018/11/12/中文说明worldserver-conf/" title="中文说明worldserver.conf">https://whitehat666.gitee.io/blog/2018/11/12/中文说明worldserver-conf/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>
    本博客所有文章除特别声明外，均采用 <a href="https://whitehat666.gitee.io/blog/" rel="external nofollow" target="_blank">坚持原创技术分享 转载请注明出处</a> 许可协议。转载请注明出处！
  </li>
</ul>

      </div>
    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/blog/2018/11/11/游戏修改数据解释/" rel="next" title="游戏修改数据解释">
                <i class="fa fa-chevron-left"></i> 游戏修改数据解释
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/blog/2018/11/12/坐骑地球修改/" rel="prev" title="坐骑地球修改">
                坐骑地球修改 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
      <div id="lv-container" data-id="city" data-uid="MTAyMC80MDk1NS8xNzQ4MA=="></div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="https://i.loli.net/2018/11/13/5be9fdb6b566a.jpeg" alt="Whitehat">
            
              <p class="site-author-name" itemprop="name">Whitehat</p>
              <p class="site-description motion-element" itemprop="description">精心整理 无私奉献</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/blog/archives">
              
                  <span class="site-state-item-count">15</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            

            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/blog/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#目录"><span class="nav-number">1.</span> <span class="nav-text">目录</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#中文说明worldserver-conf"><span class="nav-number">1.1.</span> <span class="nav-text">中文说明worldserver.conf</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Whitehat</span>

  
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    
      <span class="post-meta-item-text">网站字总数&#58;</span>
    
    <span title="网站字总数">83.7k</span>
  
</div>

<!--
  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>
-->


<span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span>
<script>
    var now = new Date(); 
    function createtime() { 
        var grt= new Date("02/14/2018 12:49:00");//此处修改你的建站时间或者网站上线时间 
        now.setTime(now.getTime()+250); 
        days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
        hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
        if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
        mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
        seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
        snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
        document.getElementById("timeDate").innerHTML = "本站已安全运行 "+dnum+" 天 "; 
        document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒"; 
    } 
setInterval("createtime()",250);
</script>
        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  



  
  









  
  
    <script type="text/javascript" src="/blog/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/canvas-nest/canvas-nest.min.js"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/three/three.min.js"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/three/three-waves.min.js"></script>
  


  


  <script type="text/javascript" src="/blog/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/blog/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/blog/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/blog/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/blog/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/blog/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/blog/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  












  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/blog/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  

  
  

  

  

  

</body>
</html>
